import { Graphics, Layers } from "cc";

export class SpaceshipView extends Graphics {
    protected start(): void {
        this.node.layer = Layers.Enum.UI_2D;
        this.fillColor.fromHEX('#ffffff');
        this.moveTo(10, 0);
        this.lineTo(-7, 7);
        this.lineTo(-4, 0);
        this.lineTo(-7, -7);
        this.close();
        this.stroke();
        this.fill();
    }
}
